|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jade.content.schema.ObjectSchema
|
+--jade.content.schema.ContentElementSchema
|
+--jade.content.schema.PropositionSchema
|
+--jade.content.schema.PredicateSchema
| Fields inherited from class jade.content.schema.PropositionSchema |
BASE_NAME |
| Fields inherited from class jade.content.schema.ContentElementSchema |
BASE_NAME |
| Fields inherited from class jade.content.schema.ObjectSchema |
MANDATORY,
OPTIONAL |
| Constructor Summary | |
PredicateSchema(java.lang.String name)
Constructor |
|
| Method Summary | |
void |
add(java.lang.String name,
TermSchema slotSchema)
Adds an argument to the predicate. |
void |
add(java.lang.String name,
TermSchema slotSchema,
int cardinality)
Adds an argument to the predicate. |
AbsObject |
newInstance()
Creates a new instance. |
| Methods inherited from class jade.content.schema.PropositionSchema |
getBaseSchema |
| Methods inherited from class jade.content.schema.ObjectSchema |
addBaseSchema,
addElement,
addElement,
getNames,
getSchema,
getTypeName,
isAttribute,
isMandatory |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public PredicateSchema(java.lang.String name)
name - name of the predicate.| Method Detail |
public void add(java.lang.String name,
TermSchema slotSchema)
name - name of the argument.slotSchema - schema of the new argument.
public void add(java.lang.String name,
TermSchema slotSchema,
int cardinality)
name - name of the argument.slotSchema - schema of the new argument.cardinality - cardinality of the attribute, i.e., mandatory or
optional.public AbsObject newInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||